package cn.jx.asc.user.pojo;

import java.util.Date;

public class Record {
    private Integer recordId;

    private Date recordTime;

    private Short temperature;

    private Short temperatureSoil;

    private Short humidity;

    private Short humiditySoil;

    private Short co2;

    private Integer sun;

    private Integer sensorId;

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Short getTemperature() {
        return temperature;
    }

    public void setTemperature(Short temperature) {
        this.temperature = temperature;
    }

    public Short getTemperatureSoil() {
        return temperatureSoil;
    }

    public void setTemperatureSoil(Short temperatureSoil) {
        this.temperatureSoil = temperatureSoil;
    }

    public Short getHumidity() {
        return humidity;
    }

    public void setHumidity(Short humidity) {
        this.humidity = humidity;
    }

    public Short getHumiditySoil() {
        return humiditySoil;
    }

    public void setHumiditySoil(Short humiditySoil) {
        this.humiditySoil = humiditySoil;
    }

    public Short getCo2() {
        return co2;
    }

    public void setCo2(Short co2) {
        this.co2 = co2;
    }

    public Integer getSun() {
        return sun;
    }

    public void setSun(Integer sun) {
        this.sun = sun;
    }

    public Integer getSensorId() {
        return sensorId;
    }

    public void setSensorId(Integer sensorId) {
        this.sensorId = sensorId;
    }

    @Override
    public String toString() {
        return "Record{" +
                "recordId=" + recordId +
                ", recordTime=" + recordTime +
                ", temperature=" + temperature +
                ", temperatureSoil=" + temperatureSoil +
                ", humidity=" + humidity +
                ", humiditySoil=" + humiditySoil +
                ", co2=" + co2 +
                ", sun=" + sun +
                ", sensorId=" + sensorId +
                '}';
    }
}